package com.changfang.gold_man.service;

import com.changfang.gold_man.entity.Car;

import java.util.List;
import java.util.Map;

public interface CarService {
    public List<Car> findAll();
    public void register(String user_id,String car_type,String car_address,String car_img,String car_gold);
    public Car findByCarId(String car_id);
    public List<Car> findByUid(String user_id);
    public void delete(String car_id);
    public String updateStatu(Map<String,String> car_info);
    public String updatePerson(String car_id,String person_id);
    //查找我借用的车辆
    List<Car> findPerson(String person_id);
    //归还车辆
    String returnCar(String car_id);
}
